use sysinfo::System;

pub fn get_total_memory() -> u64 {
    let system = System::new_all();
    system.total_memory()
}

pub fn get_used_memory() -> u64 {
    let system = System::new_all();
    system.used_memory()
}